package javabean;

public class House {
    private Integer id;
    private String name;
    private String tel;
    private String address;
    private String rent;
    private String state;//状态

    public House() {
    }

    public House(Integer id, String name, String tel, String address, String rent, String state) {
        this.id = id;
        this.name = name;
        this.tel = tel;
        this.address = address;
        this.rent = rent;
        this.state = state;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return tel
     */
    public String getTel() {
        return tel;
    }

    /**
     * 设置
     * @param tel
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return rent
     */
    public String getRent() {
        return rent;
    }

    /**
     * 设置
     * @param rent
     */
    public void setRent(String rent) {
        this.rent = rent;
    }

    /**
     * 获取
     * @return state
     */
    public String getState() {
        return state;
    }

    /**
     * 设置
     * @param state
     */
    public void setState(String state) {
        this.state = state;
    }

    public String toString() {
        return "House{id = " + id + ", name = " + name + ", tel = " + tel + ", address = " + address + ", rent = " + rent + ", state = " + state + "}";
    }
}
